<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/9/14
  Time: 12:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>登录页面</title>
</head>
<link rel="stylesheet" href="css/login.css">
<body>
    <div class="login-container">
        <form action="LoginServlet" method="get" class="login-form">
            <h2>登录</h2>
            <div class="form-group">
                <label for="username">用户名</label>
                <input type="text" id="username" name="username" required>
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" name="password" required>
            </div>
            <button type="submit" class="submit-btn">登录</button>
          <p color="red"> ${requestScope.msg}</p>
        </form>
    </div>
</body>

</html>
